<template>
    <div>
        <div>这是demo4</div>
        <p>{{protest.demo1Name}}</p>
         <p>{{protest.demo1Age}}</p>
    </div>
</template>

<script>
    export default {
         inject: ['protest'],
        data() {
            return {
                demo4Name:'测试44',
                demo4Age: 44
            }
        },
        mounted() {
            console.log(this.protest)
        },
    }
</script>

<style lang="scss" scoped>

</style>
